<template>
    <div>
        <h3>Qury传参</h3>
    </div>
</template>


<script setup>
import { useRoute } from 'vue-router'
//定义 路由
const router = useRoute()
console.log(router.query.id)  //拿到详细的传参



</script>



<style lang="">
    
</style>